<template>
	<div>
		<p>SonB</p>
		<!-- 使用具名插槽接收=>slot name="自定义名称" -->
		<slot name="SonBShow"></slot>
		<slot name="scop" :myData="Soltdata"></slot>
	</div>
</template>
<script>
export default {
	name: "",
	components: {},
	data() {
		return {
			Soltdata: "子组件使用作用域插槽传递显示",
		};
	},

	methods: {},
};
</script>
<style lang="" scoped></style>
